package com.briup.day10;

import com.briup.day10.bean.Account;

/**
 * @author ThinkBook
 */
public class Test04_Account {
    public static void main(String[] args) {
        //1.实例化对象
        Account acc = new Account();
        //2.借助set方法赋值
        acc.setId("001");
        acc.setBalance(2300.5);
        System.out.println(acc.getId());
        System.out.println(acc.getBalance());
        System.out.println("---------------------");
        acc.show();
    }
}
